#ifndef CUSTOMER_H
#define CUSTOMER_H

#include <time.h>
// 防止重复包含

typedef enum
{
	female = 1,
	male,
	helicopter,
	walmart_shopping_bag
} sex;

typedef enum
{
	VIP = 1,
	SVIP,	
	SSVIP
} customer_level; 

typedef struct
{
	unsigned int mid;	//ID
	char card_num[11];	//卡号
	char name[31];		//姓名
	char phone[12];		//手机号
	sex s;			//性别
	customer_level l;		//用户等级
	time_t reg_time;	//注册时间
	time_t expire_time;	//到期时间
	int delete_state;	//删除状态，0没删，1已删 
} customer_info;

void customer_reg(void);
void customer_show(void);

#endif // %:t:r:_H
